<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<html>
	<head>
		<title>帐号管理</title>
		<%@ include file="/commons/meta.jsp"%>
	</head>

	<body>
		<div id="content">
			<h2>
				帐号列表 <a href="${ctx}/admin/role.action">角色列表</a>
				<a href="${ctx}/j_acegi_logout">退出登录</a>
			</h2>
			<div id="list">
				<table cellSpacing=0 cellPadding=1 border="1px">
					<tr>
						<th><b>登录名</b></th>
						<th><b>姓名</b></th>
						<th><b>电邮</b></th>
						<th><b>操作</b></th>
					</tr>

					<s:iterator value="users" status="status">
						<tr>
							<td>${loginName}</td>
							<td>${name}</td>
							<td>${email}</td>
							<td>
							<a href="${ctx}/admin/user!input.action?id=${id}">修改</a>、
							<a href="${ctx}/admin/user!delete.action?id=${id}">删除</a>
							</td>
						</tr>
					</s:iterator>
				</table>
			</div>
			<a href="${ctx}/admin/user!input.action">增加新用户</a>
		</div>
	</body>
</html>
